﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConfigInfoEdit.aspx.cs"
    Inherits="LGSVR_WEB.terminal.ConfigInfoEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>终端系统配置添加</title>
    <link href="/skins/default/css/web.css" rel="stylesheet" type="text/css" />
    <script src="/skins/default/js/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="/skins/default/js/common.js" type="text/javascript"></script>
    <script src="/skins/default/js/terminal.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $(".menu_main li").click(function () {
                var i = $(this).index();

                //                $(".menu").hide().eq(i).show();
                //                $(".menu_main li").removeClass();
                //                $(this).attr("class", "current");
                checkMenu(i);

            });
            checkMenu(0);

            //
            function checkMenu(i) {
                $(".menu").hide().eq(i).show();
                $(".menu_main li").removeClass();
                $(".menu_main li").eq(i).attr("class", "current");
            }

           
           
        });
    </script>
    <style type="text/css">
        .menu_content div
        {
            display: none;
        }
    </style>
</head>
<body>
    <div id="ClientMsg">
        <%=MsgContent%></div>
    <form runat="server" id="theForm">
    <div id="MainBody">
        <div class="editnav">
            位置： <a href="ConfigInfoList.aspx">终端参数配置</a>&nbsp;&nbsp;>>&nbsp;&nbsp;<span class="current">终端系统配置编辑</span></div>
    </div>
    <div class="box">
        <div class="menu_main">
            <ul>
                <li class="current">显示屏(控制卡)</li>
                <li>GPRS/CDMA/3G通信</li>
                <li>默认布局</li>
            </ul>
        </div>
        <div class="menu_content">
            <div class="menu">
                <table class="edittb" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="first">
                            配置编号：
                        </td>
                        <td><asp:TextBox ID="txtconfigID" runat="server" MaxLength="10"></asp:TextBox>
                      
                        </td>
                    </tr>
                    <tr>
                        <td class="first">
                            扫描方式：
                        </td>
                        <td>
                            <asp:DropDownList runat="server" ID="dropScanType">
                            </asp:DropDownList>
                            &nbsp;&nbsp;&nbsp;宽度：<asp:TextBox ID="txtsWidth" runat="server" Width="40px" onkeyup="IsNumeric(this)"></asp:TextBox>
                            &nbsp;&nbsp;&nbsp; 高度：<asp:TextBox ID="txtsHeight" runat="server" Width="40px" onkeyup="IsNumeric(this)"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="first">
                            节目总数:
                        </td>
                        <td>
                            <asp:DropDownList runat="server" ID="dropactCount">
                            </asp:DropDownList>
                            &nbsp;&nbsp;
                            <asp:RadioButtonList ID="rbtIsDoubleColor" CssClass="no_border" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow" BorderWidth="0">
                                <asp:ListItem Text="单色" Value="False"></asp:ListItem>
                                <asp:ListItem Text="双色" Value="True"></asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td class="first">
                            &nbsp;
                        </td>
                        <td>
                            <asp:CheckBox ID="chkOE" runat="server" CssClass="no_border" Text="OE反相" />
                            &nbsp;&nbsp;
                            <asp:CheckBox ID="chkDataType" runat="server" CssClass="no_border" Text="数据位" />
                        </td>
                    </tr>
                    <tr>
                        <td class="first">
                            &nbsp;
                        </td>
                        <td>
                            <asp:CheckBox ID="chksmnx" runat="server" Text="扫描逆序" CssClass="no_border" />
                            <asp:CheckBox ID="chksjnx" runat="server" Text="数据逆序" CssClass="no_border" />
                            <asp:CheckBox ID="chkzhsc" runat="server" Text="执行输出" CssClass="no_border" />
                        </td>
                    </tr>
                    <tr>
                        <td class="first">
                            &nbsp;
                        </td>
                        <td>
                            <asp:CheckBox ID="chkyxbj" runat="server" Text="允许报警" CssClass="no_border" />
                            <asp:CheckBox ID="chkjmcf" runat="server" Text="节目重复播放" CssClass="no_border" />
                            <asp:CheckBox ID="chkjscb" runat="server" Text="即时信息" CssClass="no_border" />
                        </td>
                    </tr>
                    <tr>
                        <td class="first">
                            &nbsp;
                        </td>
                        <td>
                            <asp:CheckBox ID="chkzctb" runat="server" Text="节目同步" CssClass="no_border" />
                            <asp:CheckBox ID="chkzcgm" runat="server" Text="冠名播报" CssClass="no_border" />
                        </td>
                    </tr>
                </table>
            </div>
          
            <div class="menu">
                <table class="edittb" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="first">
                            APN:
                        </td>
                        <td>
                            <asp:TextBox ID="txtAPN" runat="server" Width="40px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="first">
                            服务IP:
                        </td>
                        <td>
                            <asp:TextBox ID="txtserverIP" runat="server"></asp:TextBox>
                            &nbsp;&nbsp;&nbsp;&nbsp; 端口号：
                            <asp:TextBox ID="txtportID" runat="server" Width="40px" onkeyup="IsNumeric(this)"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="menu">
                <table class="edittb" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="first">
                            默认字体宽：
                        </td>
                        <td>
                            <asp:TextBox ID="txtdefWCount" runat="server" Width="40px" onkeyup="IsNumeric(this)"></asp:TextBox>
                        </td>
                        <td class="first">
                            默认字体高：
                        </td>
                        <td>
                            <asp:TextBox ID="txtdefHCount" runat="server" Width="40px" onkeyup="IsNumeric(this)"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="first">
                            默认字体：
                        </td>
                        <td>
                            <asp:DropDownList runat="server" ID="dropdefFontName">
                            </asp:DropDownList>
                        </td>
                        <td class="first">
                            字体大小：
                        </td>
                        <td>
                            <asp:TextBox ID="txtdefFontSize" runat="server" Width="40px" onkeyup="IsNumeric(this)"></asp:TextBox>
                            字体型号：
                            <asp:TextBox ID="txtdelFontStyle" runat="server" Width="40px" onkeyup="IsNumeric(this)"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="first">
                            行对齐模式：
                        </td>
                        <td>
                            <asp:DropDownList runat="server" ID="dropdefAlignW">
                            </asp:DropDownList>
                        </td>
                        <td class="first">
                            列对齐模式：
                        </td>
                        <td>
                            <asp:DropDownList runat="server" ID="dropdefAlignH">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="first">
                            描述
                        </td>
                        <td colspan="3">
                            <asp:TextBox ID="txtcontent" TextMode="MultiLine" Style="width: 400px; height: 80px;"
                                runat="server"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
    <div class="btnEdit">
        <asp:Button ID="btnSave" runat="server" Text="保 存" OnClick="btnSave_Click" />
             <asp:Button ID="btnBack" runat="server" Text="返 回" onclick="btnBack_Click" />
    </div>
    </form>
</body>
</html>
